package com.hxzy.shop.order.dto.req;

import com.hxzy.shop.order.dto.resp.PlaceOrderDrugV2Resp;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * @ClassName PayTransactionsV2Req
 * @Author wengjt
 * @Date 2021/7/22 16:57
 * @Description
 **/
@Data
@ApiModel
public class PayTransactionsV2Req {
    /**
     * 总金额
     */
    @ApiModelProperty(value = "总金额")
    private BigDecimal totalPrice;

    /**
     * 实际支付金额
     */
    @ApiModelProperty(value = "实际支付金额")
    private BigDecimal payPrice;

    /**
     * 优惠金额
     */
    @ApiModelProperty(value = "优惠金额")
    private BigDecimal discountPrice;

    /**
     * 运费
     */
    @ApiModelProperty(value = "运费")
    private BigDecimal freightPrice;

    /**
     * 门店id
     */
    @ApiModelProperty(value = "门店id")
    private Long storeId;

    /**
     * 门店名称
     */
    @ApiModelProperty(value = "门店名称")
    private String storeName;



    /**
     * 快递方式 1自提 2同城 3快递
     */
    @ApiModelProperty(value = "快递方式 1自提 2同城 3快递")
    private Integer pickType;


    /**
     * 药品信息
     */
    @ApiModelProperty(value = "药品信息")
    private List<PayTransactionsDrugV2Req> payTransactionsDrugReq;

    @ApiModelProperty("限时秒杀优惠")
    private BigDecimal spike;
    @ApiModelProperty("满赠优惠")
    private BigDecimal fullGift;
    @ApiModelProperty("今日特价优惠")
    private BigDecimal specialOffer;
    @ApiModelProperty("组合套餐优惠")
    private BigDecimal combination;
    @ApiModelProperty("打包一口价优惠")
    private BigDecimal pack;
    @ApiModelProperty("详情的药品列表")
    private List<PlaceOrderDrugV2Resp> drugList;
}
